#pragma once


// CRestWnd

class CRestWnd : public CWnd
{
	DECLARE_DYNAMIC(CRestWnd)

public:
	CRestWnd();
	virtual ~CRestWnd();

protected:
	DECLARE_MESSAGE_MAP()

	afx_msg void OnPaint();
	afx_msg void OnClose();
	void DrawTextList(CDC& dc);
	void DrawBackgraound(CDC& dc);
public:
	virtual BOOL Create();
	void	SetDisplayText(LPCTSTR lpszText);
	void    SetBkText(LPCTSTR lpszText);
	void	Show();
	void	Hide();
private:
	CRect m_rc;
	CFont *m_pFontBk;
	CFont *m_pFontText;
	CString m_strText;
	CString m_strBkText;

public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};


